"""


"""
from rest_framework import serializers

from goods.models import GoodVisitCount


class GoodDaySerializer(serializers.ModelSerializer):
    category = serializers.StringRelatedField(read_only=True)

    class Meta:
        model = GoodVisitCount
        fields = ("category", "count")
